const orderDao = require('../dao/orderDao');
//新增
module.exports.create = async function (obj) {
  return await orderDao.create(obj);
};
//查询
module.exports.find = async function (page, searchParams) {
  return await orderDao.find(page, searchParams);
};
//删除
module.exports.delete = async function (id) {
  return await orderDao.delete(id);
};
